package com.dhcc.httpserver.configread;

import java.util.ArrayList;
import java.util.List;

/**
 * 一个servlet类可以有多个url对应<br><br><br>
 * 
 * 
 * 	&lt;servlet-mapping>   <br>
 *		&lt;servlet-name>login &lt;/servlet-name>   <br>
 *		&lt;url-pattern>/login &lt;/url-pattern>    <br>
 *	&lt;/servlet-mapping>    <br>
 *	&lt;servlet>     <br>
 *		&lt;servlet-name>reg &lt;/servlet-name>    <br>
 *		&lt;servlet-class>com.dhcc.servlet.RegisterServlet &lt;/servlet-class>    <br>
 *	&lt;/servlet>    <br>
 *	&lt;servlet-mapping>    <br>
 *		&lt;servlet-name>reg &lt;/servlet-name>   <br>
 *		&lt;url-pattern>/reg &lt;/url-pattern>   <br>
 *	&lt;/servlet-mapping>    <br>
 * 
 * 
 * 
 * 
 * @author Administrator
 *
 */
public class Mapping {
	
	
	private String name;
	private List<String> urlPattern;
	
	
	
	public Mapping() {
		this.urlPattern = new ArrayList<String>();
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public List<String> getUrlPattern() {
		return urlPattern;
	}
	public void setUrlPattern(List<String> urlPattern) {
		this.urlPattern = urlPattern;
	}
	
	
	
	
	
	

}
